// number[]
let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
// 泛型
// Array<number>
// 数组普通类型
let arr2 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
let person = [
    {
        name: '张三',
        age: 18
    },
    {
        name: '李四',
        age: 19
    }
];
// 二维数组
let arr3 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
// 泛型
// Array<Array<number>>
let arr4 = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];
// 大杂烩数组
// any[]
let arr5 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
// 定义元祖 不可修改
let arr6 = [1, '2', true, null];
function arrFn(...args) {
    console.log(args);
    let a = arguments;
    console.log(a);
}
arrFn(1, 2, 3, 4, 5);
function arrFn02(...args) {
    console.log(args);
    let a = arguments;
    console.log(a);
}
arrFn02(1, 2, 3, 4, 5);
